<%@ include file="/html/library/init.jsp" %>

This is the <b>Hoan Portlet</b> portlet in View mode.

<portlet:renderURL  var="updateBookURL">
	<portlet:param name="jspPage" value="update-jsp"/>
</portlet:renderURL>
<br/>

<portlet:actionURL name="getAllBooks" var="getAllBooksActionURL">
	<%-- <portlet:param name="${ActionRequest.ACTION_NAME}" value="getAllBooks"/> --%>
</portlet:actionURL>

<portlet:actionURL name="getAllBooksByUserId" var="getAllBooksByUserIdActionURL">
</portlet:actionURL>

<%
	String a = "aaaa";
	String b = "bbbb";
%>

<liferay-ui:message key="welcome" /><br/>
<liferay-ui:message key="welcome-x" arguments="<%=new Object[]{a, b}%>"/><br/>

<a href="${updateBookURL}">Add new book</a>
<a href="${getAllBooksActionURL}">List all books</a>
<a href="${getAllBooksByUserIdActionURL}">List all books</a>
